<template>
  <div id="app">
    <el-container>
      <el-header>
<!--        <img alt="Vue logo" src="../src/assets/xuexiao.png">-->
        <h3>薪资 预测系统</h3>
      </el-header>
      <el-container>
        <el-aside width="250px">
          <el-row class="tac">
            <el-col :span="24">

              <el-menu
                  default-active="2"
                  class="el-menu-vertical-demo"
                  @open="handleOpen"
                  @close="handleClose">
                <el-submenu index="1">
                  <template slot="title">
                    <i class="el-icon-location"></i>
                    <span>查看岗位信息</span>
                  </template>

                  <el-menu-item index="1-1">
                    <router-link to="/wangluoanquan">网络安全</router-link>
                  </el-menu-item>

                  <el-menu-item-group>
                    <el-menu-item index="1-2">
                      <router-link to="/rengongzhineng">人工智能</router-link>
                    </el-menu-item>

                    <el-menu-item index="1-3">
                      <router-link to="/ruanjiankaifa">软件开发</router-link>
                    </el-menu-item>

                    <el-menu-item index="1-4">
                      <router-link to="/ceshi">测试工程师</router-link>
                    </el-menu-item>
                  </el-menu-item-group>
                </el-submenu>

                <el-submenu index="2">
                  <template slot="title">
                    <i class="el-icon-location"></i>
                    <span>查看图表信息</span>
                  </template>
                  <el-menu-item-group>
                    <el-menu-item index="2-1">
                      <router-link to="/wangluoanquanCharts">网络安全</router-link>
                    </el-menu-item>
                    <el-menu-item index="2-2">
                      <router-link to="/rgznCharts">人工智能</router-link>
                    </el-menu-item>
                    <el-menu-item index="2-3">
                      <router-link to="/kfCharts">软件开发</router-link>
                    </el-menu-item>
                    <el-menu-item index="2-4">
                      <router-link to="/csCharts">测试工程师</router-link>
                    </el-menu-item>
                  </el-menu-item-group>
                </el-submenu>

                <el-submenu index="3">
                  <template slot="title">
                    <i class="el-icon-location"></i>
                    <span>预测岗位薪资</span>
                  </template>
                  <el-menu-item-group>
                    <el-menu-item index="3-1">
                      <router-link to="/wlaqform">网络安全</router-link>
                    </el-menu-item>
                    <el-menu-item index="3-2">
                      <router-link to="/rgznform">人工智能</router-link>
                    </el-menu-item>
                    <el-menu-item index="3-3">
                      <router-link to="/kfform">软件开发</router-link>
                    </el-menu-item>
                    <el-menu-item index="3-4">
                      <router-link to="csform">测试工程师</router-link>
                    </el-menu-item>
                  </el-menu-item-group>
                </el-submenu>
              </el-menu>
            </el-col>
          </el-row>

        </el-aside>
        <el-main>
          <router-view>wangluoanquan</router-view>
        </el-main>
      </el-container>
    </el-container>

  </div>
</template>

<style>

body {
  padding: 0;
  margin: 0;
}

.el-header {
  background-color: #B3C0D1;
  color: #333;
  text-align: center;
  height: 20vh !important;
  display: flex;
}

h3 {
  margin-top: 47px;
  font-size: 40px;
  color: gray;
  text-align: center;
  margin-left: 650px;
}

img {
  width: 480px;
  height: 100px;
  margin-top: 20px;
  margin-right: 60px;
}

.el-aside {
  background-color: #D3DCE6;
  color: #333;
  text-align: center;
  height: 80vh;
  width: 300vw;
}

.el-main {
  background-color: #E9EEF3;
  color: #333;
  text-align: center;
  height: 80vh;
}

body > .el-container {
  margin-bottom: 40px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
  line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
  line-height: 320px;
}
</style>
<script setup lang="ts">
</script>